Otter SDK Reference
Version:

LogError(ILogger logger, string format, object[] args) Method

Logs the specified message with an error log level.

Syntax

public static void LogError(ILogger logger, string format, object[] args)

Parameters

logger
Type: ILogger

The logger to use.

format
Type: string

The message to log as a composite format string.

args
Type: object[]

The arguments for the composite format string.

Exceptions

System.ArgumentNullException

logger is null (Nothing in Visual Basic).